import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router/index.ts'
import Antd from "ant-design-vue";
import "ant-design-vue/dist/reset.css";
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import '@/access'


const app = createApp(App)
const pinia = createPinia()
app.use(Antd);
app.use(createPinia())
app.use(router)
pinia.use(piniaPluginPersistedstate)

app.mount('#app')
